#include "seqlist.h"

void test1()
{
	seqlist st;
	SeqListInit(&st);
	SeqListPushBack(&st, 1);
	SeqListPushBack(&st, 2);
	SeqListPushBack(&st, 3);
	SeqListPrint(&st);
	SeqListPopBack(&st);
	SeqListPrint(&st);
	SeqListPopBack(&st);
	SeqListPopBack(&st);
	SeqListPopBack(&st);
	SeqListPrint(&st);
	SeqListPushBack(&st, 1);
	SeqListPushBack(&st, 2);
	SeqListPushBack(&st, 3);
	SeqListPushFront(&st, 100);
	SeqListPushFront(&st, 200);
	SeqListPrint(&st);
	SeqListPopFront(&st);
	SeqListPrint(&st);
	SeqListPopFront(&st);
	SeqListPopFront(&st);
	SeqListPopFront(&st);
	SeqListPopFront(&st);
	SeqListPopFront(&st);
	SeqListPrint(&st);
	SeqListPushBack(&st, 1);
	SeqListPushBack(&st, 2);
	SeqListPushBack(&st, 3);
	SeqListPushFront(&st, 100);
	SeqListPushFront(&st, 200);
	SeqListPrint(&st);
	SeqListFind(&st, 100);
	SeqListInsert(&st, 2, 600);
	SeqListPrint(&st);
	SeqListErase(&st, 2);
	SeqListPrint(&st);
	SeqListDestory(&st);
	SeqListPrint(&st);

}

